package model;

public class Message {

	private String status = "";
	private String provenance = "";
	private String date = "";
	private String duration = "";
	
	private String id = "";

	public Message(String ident, String stat, String prov, String d, String dura) {
		id = ident;
		status = stat;
		provenance = prov;
		date = d;
		duration = dura;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setProvenance(String provenance) {
		this.provenance = provenance;
	}

	public String getProvenance() {
		return provenance;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getDate() {
		return date;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getDuration() {
		return duration;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}
	
	public String toString() {
		return "[MESSAGE VOCAL] ID="+id+" STATUS="+status+" PROVENANCE="+provenance+" DATE="+date+" DURATION="+duration;
	}
}
